//
//  ABStatusNormalCell.swift
//  microblog
//
//  Created by 安波 on 15/11/2.
//  Copyright © 2015年 anbo. All rights reserved.
//

import UIKit
import FFAutoLayout

class ABStatusNormalCell: ABStatusCell {

   // MARK: - 准备UI
    /// 覆盖父类的方法
    override func prepareUI() {
        
        // 调用父类
        super.prepareUI()
        
        // 重新设置 微博配图的约束
        // 微博配图
        let con = pictureView.ff_AlignVertical(ff_AlignType.BottomLeft, referView: contentLabel, size: CGSize(width: 0, height: 0), offset: CGPoint(x: 0, y: statusCellMargin))
        pictureViewWidthCon = pictureView.ff_Constraint(con, attribute: NSLayoutAttribute.Width)
        pictureViewHeightCon = pictureView.ff_Constraint(con, attribute: NSLayoutAttribute.Height)
        
    }

}
